<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<h1>Sell To Alex</h1>
<table width="800" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">Code</th>
    <th scope="col">Des</th>
    <th scope="col">Qty</th>
    <th scope="col">Unit Price(Ex GST)</th>
    <th scope="col">Unit Price(Inc GST) </th>
    <th scope="col">Sub-Total(Ex GST)</th>
    <th scope="col">Sub-Total (Inc GST)</th>
  </tr>
<?php foreach($this->arrSi as $key => $v){?>  
  <tr>
    <td><?php echo $key + 1; ?></td>
    <td><?php echo $v[0];?></td>
    <td><?php echo $v[1];?></td>
    <td><?php echo $v[2];?></td>
    <td><?php echo $v[3];?></td>
    <td><?php echo round($v[3]*1.1,2);?></td>
    <td><?php echo $v[4];?></td>
    <td><?php echo round($v[4]*1.1,2);?></td>
  </tr>
<?php }?>  
</table>
<p>&nbsp;</p>
<h1>Lend To Alex<br />
</h1>
<table width="800" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">Code</th>
    <th scope="col">Des</th>
    <th scope="col">Qty</th>
    <th scope="col">Unit Price(Ex GST)</th>
    <th scope="col">Unit Price(Inc GST) </th>
    <th scope="col">Sub-Total(Ex GST)</th>
    <th scope="col">Sub-Total (Inc GST)</th>
  </tr>
  <?php foreach($this->arrTi as $key => $v){?>
  <tr>
    <td><?php echo $key + 1; ?></td>
    <td><?php echo $v[0];?></td>
    <td><?php echo $v[1];?></td>
    <td><?php echo $v[2];?></td>
    <td><?php echo $v[3];?></td>
    <td><?php echo round($v[3]*1.1,2);?></td>
    <td><?php echo $v[4];?></td>
    <td><?php echo round($v[4]*1.1,2);?></td>
  </tr>
  <?php }?>
</table>
<h1>&nbsp; </h1>
<h1>Adjust Out<br />
</h1>
<table width="800" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">Code</th>
    <th scope="col">Des</th>
    <th scope="col">Qty</th>
    <th scope="col">Unit Price(Ex GST)</th>
    <th scope="col">Unit Price(Inc GST) </th>
    <th scope="col">Sub-Total(Ex GST)</th>
    <th scope="col">Sub-Total (Inc GST)</th>
  </tr>
  <?php foreach($this->arrAo as $key => $v){?>
  <tr>
    <td><?php echo $key + 1; ?></td>
    <td><?php echo $v[0];?></td>
    <td><?php echo $v[1];?></td>
    <td><?php echo $v[2];?></td>
    <td><?php echo $v[3];?></td>
    <td><?php echo round($v[3]*1.1,2);?></td>
    <td><?php echo $v[4];?></td>
    <td><?php echo round($v[4]*1.1,2);?></td>
  </tr>
  <?php }?>
</table>
<h1>&nbsp; </h1>
<h1>Faulty Out</h1>
<table width="800" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">Code</th>
    <th scope="col">Des</th>
    <th scope="col">Qty</th>
    <th scope="col">Unit Price(Ex GST)</th>
    <th scope="col">Unit Price(Inc GST) </th>
    <th scope="col">Sub-Total(Ex GST)</th>
    <th scope="col">Sub-Total (Inc GST)</th>
  </tr>
  <?php foreach($this->arrFo as $key => $v){?>
  <tr>
    <td><?php echo $key + 1; ?></td>
    <td><?php echo $v[0];?></td>
    <td><?php echo $v[1];?></td>
    <td><?php echo $v[2];?></td>
    <td><?php echo $v[3];?></td>
    <td><?php echo round($v[3]*1.1,2);?></td>
    <td><?php echo $v[4];?></td>
    <td><?php echo round($v[4]*1.1,2);?></td>
  </tr>
  <?php }?>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>
